package com.qd.common.panda.domain.entity.order;

import com.cdqidi.util.page.BaseQuery;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 订单列表显示信息
 *
 * @author sjk
 * @create 2022-10-12 15:40
 * @since 1.0.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
public class MallOrderQueryDTO extends BaseQuery {

    /**
     * 订单ID
     */
    private String orderId;
    /**
     * 支付状态
     */
    private Integer payStatus;
    /**
     * 用户唯一标识
     */
    private String userId;
    /**
     * 用户手机号
     */
    private String mobile;
    /**
     * 商品编码
     */
    private String commodityCode;
    /**
     * 产品形式
     */
    private String productForm;
    /**
     * 是否重试
     */
    private String retry;
    /**
     * 订单状态
     */
    private Integer orderState;

    @Override
    public void freeData() {
        this.orderId = null;
        this.payStatus = null;
        this.userId = null;
        this.mobile = null;
        this.commodityCode = null;
        this.productForm = null;
        this.retry = null;
        this.orderState = null;
    }
}